package com.epam.rentcar.DAO;

import java.sql.SQLException;
import java.util.List;

import javax.naming.NamingException;

import com.epam.rentcar.transferobjects.Car;

public interface CarDAO {
	Car getCar(int carID) throws SQLException, NamingException;
	List<Car> getAvaliableCars() throws SQLException, NamingException;
	boolean addCar(String manufacturer, String model, String number) throws SQLException, NamingException;
	boolean makeCarUnavaliable(int id) throws SQLException, NamingException;
	boolean makeCarAvaliable(int id) throws SQLException, NamingException;
}